package com.finance.rule.dao;


import com.finance.rule.bean.pojo.MixSectionRule;
import com.finance.rule.bean.pojo.PieceRangeRule;
import com.finance.rule.bean.pojo.WeightRangeRule;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author: gly
 * @Date: Created in 2017/5/2
 */
@Component
public interface JudgeRuleMapper {

    List<PieceRangeRule> getPieceRules(@Param("supplierCode") String supplierCode,@Param("regionCodes") List<String> regionCodes);

    List<WeightRangeRule> getWeightRules(@Param("supplierCode") String supplierCode, @Param("fromCode") String fromCityCode);

    List<MixSectionRule> getMixRules(String supplierCode);

}
